/*
 * @Description: 
 * @Author: Zilu
 * @Date: 2021-11-08 13:06:42
 * @Version: 
 * @LastEditTime: 2021-11-08 13:09:11
 * @LastEditors: Zilu
 */

// misuse.c -- 错误使用函数
#include <stdio.h>

int main(int argc, char const *argv[])
{
    printf("The maximum of %d and %d is %d.\n", 3, 5, imax(3));
    printf("The maximum of %d and %d is %d.\n", 3, 5, imax(3.0, 5.0));
    return 0;
}

int imax(n, m) 
int n, m;    //ANSI 之前的形式
{
    return (n > m) ? n : m;
}
